<?php
	$rootdir = '../';

	include_once('session.php');
	
	if(isset($_SESSION['user']['mail']))
		echo '1';
	else
		echo '0';

?>